package org;

import java.util.Scanner;

/**
 * @Author: xwg
 * @CreateDate: 2021/11/20
 */

// 此类负责和用户交互  /客服
public class Client {
    public void did(){
        Scanner scanner = new Scanner(System.in);
        Multiple multiple = new Multiple();
        for (int i = 0; i < 10; i++) {
            System.out.println("请输入打印的阶数：");
            int n = scanner.nextInt();
//            multiple.printN(n);
            multiple.printN(n);
        }
    }

    public static void main(String[] args) {
        Client client = new Client();
        client.did();
    }
}
